package fr.emn.fil.soc.gr3.views;

import javax.swing.JButton;
import javax.swing.JDialog;
import javax.swing.JTextField;

public class DialogRecupererSujet extends JDialog {
	private JTextField textField;
	MainFrame parent;
	/**
	 * 
	 */
	private static final long serialVersionUID = -4152694516619912428L;
	
	public DialogRecupererSujet(MainFrame pparent) {
		super(pparent,"Liste des Sujets disponibles",true);
		parent = pparent;
		setSize(168, 169);
		setLocationRelativeTo(null);
		getContentPane().setLayout(null);
		
		JButton btnTlcharger = new JButton("T\u00E9l\u00E9charger");
		btnTlcharger.setBounds(10, 42, 89, 23);
		getContentPane().add(btnTlcharger);
		
		textField = new JTextField();
		textField.setBounds(13, 11, 86, 20);
		getContentPane().add(textField);
		textField.setColumns(10);
	}

	public JTextField getTextField() {
		return textField;
	}

	public MainFrame getParent() {
		return parent;
	}

}
